//
//  ZJGtasksViewController.m
//  Estate
//
//  Created by wangdongdong on 16/9/20.
//  Copyright © 2016年 ttsx. All rights reserved.
//

#import "ZJGtasksViewController.h"
#import "GZJDBViewController.h"
#import "GCXJViewController.h"
#import "GZJLSViewController.h"


@interface ZJGtasksViewController ()

@property (nonatomic, strong) NSMutableArray *dataArray;

@end

@implementation ZJGtasksViewController

- (NSMutableArray *)dataArray {
    if (!_dataArray) {
        _dataArray = [NSMutableArray array];
    }
    return _dataArray;
}

- (void)viewDidLoad {
    
    // 督办
    GZJDBViewController *supervisionVC = [[GZJDBViewController alloc] init];
    // 巡检
    GCXJViewController *inspectionVC = [[GCXJViewController alloc] init];
    // 历史
    GZJLSViewController *historyVC = [[GZJLSViewController alloc] init];
    
    // 选择器数组
    self.headerSegmentArr = [[NSArray alloc]initWithObjects:@"督办",@"巡检",@"历史",nil];
    // 控制器数组
    self.VCArr = [[NSArray alloc] initWithObjects:supervisionVC, inspectionVC, historyVC, nil];
    
    [super viewDidLoad];
    
}

@end



